home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 6644 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: dmu.ac.uk!se4pm
  2. From: se4pm@dmu.ac.uk (Piers Myers)
  3. Newsgroups: comp.lang.tcl,comp.lang.c,comp.lang.c++,comp.databases.sybase,comp.databases.oracle,comp.databases.informix,comp.databases.oracle
  4. Subject: Re: realloc equivalent in C++
  5. Followup-To: comp.lang.tcl,comp.lang.c,comp.lang.c++,comp.databases.sybase,comp.databases.oracle,comp.databases.informix,comp.databases.oracle
  6. Date: 12 Feb 1996 12:31:18 GMT
  7. Organization: De Montfort University, Leicester
  8. Message-ID: <4fnbum$scm@macondo.dmu.ac.uk>
  9. References: <4fecgc$ar9@engr.orst.edu> <DMJ15v.13C@falcon.daytonoh.attgis.com> <4fgir1$pri@theory.tc.cornell.edu> <311BDA8A.1462@ctp.com>
  10. NNTP-Posting-Host: kestrel.cms.dmu.ac.uk
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. In article <311BDA8A.1462@ctp.com>, Ian Flint (iflin@ctp.com) writes:
  14. > Honbo Zhou wrote:
  15. > > 
  16. > > Is there anything in C++ equvalent to realloc in C which can be used
  17. > > to increase allocated memory? Can't find this even in C++ books which
  18. > > talk about memory management specifically. Thanks. Honbo
  19.  
  20. > Yes.  realloc.
  21.  
  22. > - Ian Flint
  23.  
  24. Yeah, but mixing C++'s new and the old C type alloc, realloc, etc is
  25. VERY bad! So don't do it!
  26.  
  27. - Piers
  28.